import request from '@/utils/request'

// 查询用户学历信息列表
export function listEduinformation(query) {
  return request({
    url: '/information/eduinformation/list',
    method: 'get',
    params: query
  })
}

// 查询用户学历信息详细
export function getEduinformation(id) {
  return request({
    url: '/information/eduinformation/' + id,
    method: 'get'
  })
}

// 新增用户学历信息
export function addEduinformation(data) {
  return request({
    url: '/information/eduinformation',
    method: 'post',
    data: data
  })
}

// 修改用户学历信息
export function updateEduinformation(data) {
  return request({
    url: '/information/eduinformation',
    method: 'put',
    data: data
  })
}

// 删除用户学历信息
export function delEduinformation(id) {
  return request({
    url: '/information/eduinformation/' + id,
    method: 'delete'
  })
}
